<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>编辑页面</title>
</head>
<body>
 <center>
     @include('new.menu')
    <form action="{{url('new/update')}}" method="post">
        <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
        <tr>
            <td>标题:</td>
            <td><input type="text" name="title" value="{{$data[0]->title}}"></td>
        </tr>
        <br>
        <br>
        <tr>
            <td>内容:</td>
            <td><input type="text" name="content" e="{{$data[0]->content}}"></td>
        </tr>
        
        <br>
        <br>
			<input type="hidden" name="id" value="{{$data[0]->id}}" />
        <tr>
            <td><input type="submit" value="修改"></td>
        </tr>
    </form>
    </center>
</body>
</html>